package com.sky.api.order;

import com.sky.to.order.OmsOrderTo;
import com.sky.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sky-mall-order")
public interface OrderFeignService {

    @RequestMapping("/order/getInfoByOrderSn")
    R<OmsOrderTo> getInfoByOrderSn(@RequestParam("orderSn") String orderSn);
}
